package jnpf.model.ragFlow.chunk;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel(value = "AddChunksRequest", description = "添加数据块请求")
public class AddChunksRequest {
    @NotBlank(message = "content不能为空")
    @ApiModelProperty(value = "块的文本内容", required = true)
    private String content;

    @ApiModelProperty(value = "关键术语或短语列表")
    private List<String> important_keywords;

    @ApiModelProperty(value = "关联的问题列表")
    private List<String> questions;
}
